package com.maddox.relax.util;

import android.util.Log;

import java.util.List;
import java.util.Map;

public class Assert {

    public static void check(Map<Object, Object> maps, String message) {
        if (maps == null || maps.size() == 0) {
            Log.e("Maddox", message);
        }
    }

    public static void check(List<Object> list, String message) {
        if (list == null || list.size() == 0) {
            Log.e("Maddox", message);
        }
    }

    public static void check(Object object, String message) {
        if (object == null) {
            Log.e("Maddox", message);
        }
    }


}
